Class lanenet_detector

Class Documentation

class lanenet_detector

Public Functions

__init__(self)

Lane detection model.

init_lanenet(self)

initlize the tensorflow model

img_callback(self, data)

subscribe image and publish the output image after network inference

preprocessing(self, img)

resize the input image and substract the mean value

inference_net(self, img, original_img)

network inference and post processing

Public Members

image_topic
output_image
output_lane
weight_path
use_gpu
save_dir
framecount
frame_show_ratio
frame_save_ratio
frame_2
nWaitTime
s_nWaitTime
savecount
bridge
pub_image
input_tensor
instance_seg_ret
cluster
postprocessor
sess